import 'dart:math';

import 'package:flutter/material.dart';

class IconUtils {
  static const List<IconData> defaultIcons = [
    Icons.info,
    Icons.landscape,
    Icons.satellite,
    Icons.keyboard,
    Icons.scanner,
    Icons.cake,
    Icons.face,
    Icons.verified_user,
    Icons.menu,
    Icons.call_made,
    Icons.laptop_chromebook,
    Icons.map,
    Icons.mail,
    Icons.equalizer,
    Icons.wallpaper,
    Icons.gamepad,
    Icons.gavel,
    Icons.laptop,
  ];

  static Icon getIconFrom() {
    int min = 0;
    int max = 19;

    int left = 0;
    for (var i = 0; i < max; i++) {
      left = Random().nextInt(max - min);
    }
    return Icon(defaultIcons[left]);
  }
}
